package com.ruoyi.im.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户分组管理表 im_grouping
 * 
 * @author ruoyi
 * @date 2018-11-06
 */
public class Grouping extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long id;
	/** 分组名称 */
	private String name;
	/** 创建时间 */
	private String addTime;
	/** 用户id */
	private Long userId;

	private Integer type;//分组类型

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setAddTime(String addTime) 
	{
		this.addTime = addTime;
	}

	public String getAddTime() 
	{
		return addTime;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("addTime", getAddTime())
            .append("userId", getUserId())
            .toString();
    }
}
